home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / djgpp / diffs / gdb-4.12 / readline / readline.c < prev   
Encoding:
Text File  |  1994-08-05  |  1.7 KB  |  74 lines

  1. *** orig/gdb-4.12/readline/readline.c    Mon Jul 25 23:37:26 1994
  2. --- src/gdb-4.12/readline/readline.c    Mon Jul 25 23:38:38 1994
  3. ***************
  4. *** 244,250 ****
  5.   #define HANDLE_SIGNALS
  6.   
  7.   #ifdef __GO32__
  8. ! #include <sys/pc.h>
  9.   #undef HANDLE_SIGNALS
  10.   #endif
  11.   
  12. --- 244,250 ----
  13.   #define HANDLE_SIGNALS
  14.   
  15.   #ifdef __GO32__
  16. ! #include <pc.h>
  17.   #undef HANDLE_SIGNALS
  18.   #endif
  19.   
  20. ***************
  21. *** 355,363 ****
  22. --- 355,365 ----
  23.      parser directives. */
  24.   static unsigned char parsing_conditionalized_out = 0;
  25.   
  26. + #ifndef __GO32__
  27.   /* Caseless strcmp (). */
  28.   static int stricmp (), strnicmp ();
  29.   static char *strpbrk ();
  30. + #endif
  31.   
  32.   /* Non-zero means to save keys that we dispatch on in a kbd macro. */
  33.   static int defining_kbd_macro = 0;
  34. ***************
  35. *** 6411,6416 ****
  36. --- 6413,6419 ----
  37.   
  38.   static char *strindex ();
  39.   
  40. + #ifndef __GO32__
  41.   /* Return pointer to first occurance in STRING1 of any character from STRING2,
  42.      or NULL if no occurance found. */
  43.   static char *
  44. ***************
  45. *** 6431,6436 ****
  46. --- 6434,6440 ----
  47.       }
  48.     return (NULL);
  49.   }
  50. + #endif
  51.   
  52.   /* Return non-zero if any members of ARRAY are a substring in STRING. */
  53.   static int
  54. ***************
  55. *** 6446,6451 ****
  56. --- 6450,6456 ----
  57.     return (0);
  58.   }
  59.   
  60. + #ifndef __GO32__
  61.   /* Whoops, Unix doesn't have strnicmp. */
  62.   
  63.   /* Compare at most COUNT characters from string1 to string2.  Case
  64. ***************
  65. *** 6483,6488 ****
  66. --- 6488,6494 ----
  67.       }
  68.     return (*string1 | *string2);
  69.   }
  70. + #endif
  71.   
  72.   /* Determine if s2 occurs in s1.  If so, return a pointer to the
  73.      match in s1.  The compare is case insensitive. */
  74.